// 基于template/src/widgets/{{appEntities}}/{{ctrls@FORM}}-form/{{spinalCase ctrl.codeName}}-form-vo.ts.hbs生成
import { ControlVOBase } from '@/core';
import { transformValue } from '@/utils';
import { model } from './usr-0111762182-form-model';

export class FormControlVO extends ControlVOBase {
    constructor(data: any) {
        //  表单预置字段
        data.srfwfmemo = data['srfwfmemo'] ? data['srfwfmemo'] : '';
        data.srffrontuf = data['srffrontuf'] ? data['srffrontuf'] : '';
        super(data);
        //  表单自持属性
        this.$ownKeys = ['srfupdatedate', 'srforikey', 'srfkey', 'srfmajortext', 'srftempmode', 'srfuf', 'srfdeid', 'srfsourcekey', 'formitem', 'formitem3', 'formitem4', 'formitem5', 'formitem8', 'formitem9', 'formitem16', 'field14', 'field16', 'formitem10', 'formitem17', 'formitem19', 'formitem24', 'formitem25', 'formitem26', 'formitem27', 'formitem28', 'formitem29', 'formitem31', 'formitem30', 'formitem6', 'formitem1', 'formitem11', 'formitem2', 'formitem12', 'formitem13', 'formitem7', 'formitem15', 'formitem18', 'formitem14', 'field4', 'field6', 'field9', 'ibizsample0001id'];
    }
    get srfupdatedate() {
        return this.$DO.updatedate;
    }
    set srfupdatedate(value: any) {
        this.$DO.updatedate = value;
    }
    get srfkey() {
        return this.$DO.ibizsample0001id;
    }
    set srfkey(value: any) {
        this.$DO.ibizsample0001id = value;
    }
    get srfmajortext() {
        return this.$DO.ibizsample0001name;
    }
    set srfmajortext(value: any) {
        this.$DO.ibizsample0001name = value;
    }
    get field14() {
        return this.$DO.field14;
    }
    set field14(value: any) {
        this.$DO.field14 = value;
    }
    get field16() {
        return this.$DO.field16;
    }
    set field16(value: any) {
        this.$DO.field16 = value;
    }
    get field4() {
        return this.$DO.field4;
    }
    set field4(value: any) {
        this.$DO.field4 = value;
    }
    get field6() {
        return this.$DO.field6;
    }
    set field6(value: any) {
        this.$DO.field6 = value;
    }
    get field9() {
        return this.$DO.field9;
    }
    set field9(value: any) {
        this.$DO.field9 = value;
    }
    get ibizsample0001id() {
        return this.$DO.ibizsample0001id;
    }
    set ibizsample0001id(value: any) {
        this.$DO.ibizsample0001id = value;
    }
    // 界面主键标识
    get ibizsample0001() {
        return this.$DO.ibizsample0001id;
    }

    set ibizsample0001(value: any) {
        this.$DO.ibizsample0001id = value;
    }

    //  工作流预置字段
    srfwfmemo: any;
    srffrontuf: any;

    //  无实体属性表单项
    get srftempmode() {
        return this.$DO.srftempmode;
    }

    set srftempmode(value: any) {
        this.$DO.srftempmode = value;
    }
    get formitem() {
        return this.$DO.formitem;
    }

    set formitem(value: any) {
        this.$DO.formitem = value;
    }
    get formitem3() {
        return this.$DO.formitem3;
    }

    set formitem3(value: any) {
        this.$DO.formitem3 = value;
    }
    get formitem4() {
        return this.$DO.formitem4;
    }

    set formitem4(value: any) {
        this.$DO.formitem4 = value;
    }
    get formitem5() {
        return this.$DO.formitem5;
    }

    set formitem5(value: any) {
        this.$DO.formitem5 = value;
    }
    get formitem8() {
        return this.$DO.formitem8;
    }

    set formitem8(value: any) {
        this.$DO.formitem8 = value;
    }
    get formitem9() {
        return this.$DO.formitem9;
    }

    set formitem9(value: any) {
        this.$DO.formitem9 = value;
    }
    get formitem16() {
        return this.$DO.formitem16;
    }

    set formitem16(value: any) {
        this.$DO.formitem16 = value;
    }
    get formitem10() {
        return this.$DO.formitem10;
    }

    set formitem10(value: any) {
        this.$DO.formitem10 = value;
    }
    get formitem17() {
        return this.$DO.formitem17;
    }

    set formitem17(value: any) {
        this.$DO.formitem17 = value;
    }
    get formitem19() {
        return this.$DO.formitem19;
    }

    set formitem19(value: any) {
        this.$DO.formitem19 = value;
    }
    get formitem24() {
        return this.$DO.formitem24;
    }

    set formitem24(value: any) {
        this.$DO.formitem24 = value;
    }
    get formitem25() {
        return this.$DO.formitem25;
    }

    set formitem25(value: any) {
        this.$DO.formitem25 = value;
    }
    get formitem26() {
        return this.$DO.formitem26;
    }

    set formitem26(value: any) {
        this.$DO.formitem26 = value;
    }
    get formitem27() {
        return this.$DO.formitem27;
    }

    set formitem27(value: any) {
        this.$DO.formitem27 = value;
    }
    get formitem28() {
        return this.$DO.formitem28;
    }

    set formitem28(value: any) {
        this.$DO.formitem28 = value;
    }
    get formitem29() {
        return this.$DO.formitem29;
    }

    set formitem29(value: any) {
        this.$DO.formitem29 = value;
    }
    get formitem31() {
        return this.$DO.formitem31;
    }

    set formitem31(value: any) {
        this.$DO.formitem31 = value;
    }
    get formitem30() {
        return this.$DO.formitem30;
    }

    set formitem30(value: any) {
        this.$DO.formitem30 = value;
    }
    get formitem6() {
        return this.$DO.formitem6;
    }

    set formitem6(value: any) {
        this.$DO.formitem6 = value;
    }
    get formitem1() {
        return this.$DO.formitem1;
    }

    set formitem1(value: any) {
        this.$DO.formitem1 = value;
    }
    get formitem11() {
        return this.$DO.formitem11;
    }

    set formitem11(value: any) {
        this.$DO.formitem11 = value;
    }
    get formitem2() {
        return this.$DO.formitem2;
    }

    set formitem2(value: any) {
        this.$DO.formitem2 = value;
    }
    get formitem12() {
        return this.$DO.formitem12;
    }

    set formitem12(value: any) {
        this.$DO.formitem12 = value;
    }
    get formitem13() {
        return this.$DO.formitem13;
    }

    set formitem13(value: any) {
        this.$DO.formitem13 = value;
    }
    get formitem7() {
        return this.$DO.formitem7;
    }

    set formitem7(value: any) {
        this.$DO.formitem7 = value;
    }
    get formitem15() {
        return this.$DO.formitem15;
    }

    set formitem15(value: any) {
        this.$DO.formitem15 = value;
    }
    get formitem18() {
        return this.$DO.formitem18;
    }

    set formitem18(value: any) {
        this.$DO.formitem18 = value;
    }
    get formitem14() {
        return this.$DO.formitem14;
    }

    set formitem14(value: any) {
        this.$DO.formitem14 = value;
    }

    //  表单重复器

    /**
     * 返回后台数据
     *
     * @return {*} 
     * @memberof FormControlVO
     */
	public getDo() {
        return {
            srffrontuf: this.srffrontuf,
            field14: this.$DO.field14,
field16: this.$DO.field16,
field4: this.$DO.field4,
field6: this.$DO.field6,
field9: this.$DO.field9,
updatedate: this.$DO.updatedate,
ibizsample0001id: this.$DO.ibizsample0001id,
ibizsample0001name: this.$DO.ibizsample0001name,
formitem: this.formitem,
formitem3: this.formitem3,
formitem4: this.formitem4,
formitem5: this.formitem5,
formitem8: this.formitem8,
formitem9: this.formitem9,
formitem16: this.formitem16,
formitem10: this.formitem10,
formitem17: this.formitem17,
formitem19: this.formitem19,
formitem24: this.formitem24,
formitem25: this.formitem25,
formitem26: this.formitem26,
formitem27: this.formitem27,
formitem28: this.formitem28,
formitem29: this.formitem29,
formitem31: this.formitem31,
formitem30: this.formitem30,
formitem6: this.formitem6,
formitem1: this.formitem1,
formitem11: this.formitem11,
formitem2: this.formitem2,
formitem12: this.formitem12,
formitem13: this.formitem13,
formitem7: this.formitem7,
formitem15: this.formitem15,
formitem18: this.formitem18,
formitem14: this.formitem14,
        }
	}

}